package cn.zkrt.iotms.module.iot.dao;

import cn.zkrt.iotms.module.iot.entity.DeviceAttributeB;
import cn.zkrt.iotms.module.iot.vo.DeviceAttributeBVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 设备属性表(DeviceAttributeB)表数据库访问层
 *
 * @author xulinyu
 * @since 2024-09-29 11:02:35
 */
public interface DeviceAttributeBDao extends BaseMapper<DeviceAttributeB> {

    DeviceAttributeBVO queryById(String id);

    Page<DeviceAttributeBVO> queryByPage(Page<DeviceAttributeB> page, @Param("typeAttributeName") String typeAttributeName,@Param("deviceName") String deviceName);

    List<DeviceAttributeBVO> queryByDeviceId(String deviceId);
}

